<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
	<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<meta name="format-detection" content="telphone=no, email=no">  		
	<meta name="keywords" content="">
	<meta name="description" content="">	
	<meta name="author" content="">		   
    <title>{{ config('app.name', 'Laravel') }}</title>
    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link rel="stylesheet" href="{{ asset('statics/css/bootstrap.min.css') }}">
    <link rel="stylesheet" href="{{ asset('statics/css/haiyan-main.css') }}">   
    <!--[if lt IE 9]>
        <script src="{{ asset('statics/js/html5shiv.min.js') }}"></script>
        <script src="{{ asset('statics/js/respond.min.js') }}"></script>
        <script src="{{ asset('statics/js/PIE_IE678.js') }}"></script>      
    <![endif]-->
	</head>
	<body>
		<div class="bg-wrapper">		
			<header class="top-header header-there">
				<div class="container">
					<nav class="navbar navbar-default">
					    <div class="navbar-header">
					      	<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
						        <span class="sr-only">切换导航</span>
						        <span class="icon-bar"></span>
						        <span class="icon-bar"></span>
						        <span class="icon-bar"></span>
					      	</button>	
							<a class="navbar-brand" href="#">
	                            <img src="/statics/images/icon_logo_homepage.png" alt="logo">
	                        </a>						      	
					    </div>
	                    <div class="collapse navbar-collapse" id="navbar-collapse">
	                        <ul class="nav">
	                            <li><a href="hy-index.html">首页</a></li>
	                            <li><a href="hy-search.html">出版</a></li>                            
                           		<li><a href="https://hydzyxcbs.tmall.com/search.htm?spm=a1z10.3-b.w15596611-13699148978.2.51282a3ErA9rt&search=y&scene=taobao_shop" target="_blank">购书商城</a></li>                         
	                            <li><a href="hy-download.html">资源下载</a></li>                               
	                            <li><a href="hy-aboutUs.html">关于我们</a></li>
	                            <li><a href="hy-joinUs.html">诚聘英才</a></li>
	                            <li><a href="#">中文</a>/<a href="#">English</a></li>	
	                            <li class="dropdown">
	                            	<a class="dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="wechat"></i></a>
	                            	<div class="dropdown-menu wechat-colde">
	                            		<img src="/statics/images/icon_star_qrcode.jpg" alt="" />
	                            	</div>
	                            </li>
	                            <li><a href="https://weibo.com/u/5804910556" target="_blank"><i class="weibo"></i></a></li>
	                            <li class="on"><a href="{{ route('login') }}"><i class="login"></i>登录</a></li>	                                
	                        </ul>
	                    </div>				    					    
					</nav>					
				</div>							
			</header>
			<div class="loginBg"></div>	
			<div class="wrapper-box">			
				<div class="container">	
					<div class="login-tab">
						<div class="row">
							<div class="col-md-7">
								<div class="wrapper-box-left">
									<div class="tc-summary">
										<div class="tc-introduce">
											<h2>海燕社官网</h2>
											<i class="tc-introduce-line"></i>
											<p>海燕社出版社是一家以出版少年儿童读物为主的出版机构，成立于1982年11月。</p>
											<img src="/statics/images/accounts.png" alt="星星亮app" />
											<img src="/statics/images/app.png" alt="乐童app" />
											<a class="tc-more">
												<span class="tc-more-txt">more</span>
												<span class="tc-more-icon"><i></i></span>
											</a>
										</div>
									</div>								
								</div>
							</div>
							@yield('content')					
						</div>							
					</div>				
				</div>
			</div>
			<div class="footer-box">
				<div class="footer">
					<a href="#">Copyright©海燕出版社.ALL Rights Reserved</a>
					<div class="delimiter">|</div>					
					<a href="http://www.miitbeian.gov.cn/" target="_blank">新出网证（豫）字002号</a>
					<a href="#">&nbsp;&nbsp;&nbsp;&nbsp;海燕出品牌认证</a>				
				</div>
			</div>	
		</div>	
		<script src="{{ asset('statics/js/jquery-1.12.4.min.js') }}"></script>
		<script src="{{ asset('statics/js/bootstrap.min.js') }}"></script>
		<script src="{{ asset('statics/js/jplaceholder.js') }}" ></script>
		<script src="{{ asset('statics/js/haiyan.js') }}" ></script>
		<script>
			//---------------------登录注册页屏幕小于970时响应式--------------------//
			function adjust(){
				var w=$(window).width();
				if(w<=970){
					$(".bg-wrapper").css("height","auto");
					$(".wrapper-box .col-md-5").css("margin-top","30px");
					$(".login-tab").css({"position":"static","margin-top":"80px"})
				}else{
					$(".wrapper-box .col-md-5").css("margin-top","0");			
				}
			}
			adjust();
			$(window).resize(function(){
				adjust();
			})
			
			//---------------------记住用户名和密码--------------------//			
			var user = document.getElementById('inputAcount');  
	        var password = document.getElementById('inputPassword');  
	        var check = document.getElementById('check');  
	        var btn = document.getElementById('btn');  
	        var loUser = localStorage.getItem('user');  
	        var loPass = localStorage.getItem('pass');  
	        user.value= loUser;  
	        password.value = loPass;  
	        // 判断本地存储值不为空的时候将勾选的checked设置为空  
	        if(loUser!==''&&loPass!==''){  
	            check.setAttribute('checked','');  
	        }  
	        btn.onclick=function(){  
	            if(check.checked){  
	                localStorage.setItem('user',user.value);  
	                localStorage.setItem('pass',password.value);  
	            }else{  
	                localStorage.setItem("user","");  
	                localStorage.setItem("pass","");  
	            }  
	        }   					
		</script>
	</body>
</html>